raar.vectorimage
Interface RAGVectorObjectSource

All Known Implementing Classes:
RAWorldObject

public interface RAGVectorObjectSource

Objects for which a GVectorObject can be constructed should implement this interface.


Method Summary
 RAGVectorObject createGVectorObject()
          Create a RAGVectorObject from this source.
 boolean emitsLight()
          Whether or not the object emits light.
 java.awt.geom.Rectangle2D.Double getBounds()
          Get the bounds.
 java.awt.Color getColor()
          Rteurn the object's colour.
 java.awt.geom.Point2D.Double getPosition()
          Get the position.
 double getRotation()
          Get the rotation.
 int getType()
          Return the type of object.
 

Method Detail

getType

public int getType()
Return the type of object.


getColor

public java.awt.Color getColor()
Rteurn the object's colour.


getBounds

public java.awt.geom.Rectangle2D.Double getBounds()
Get the bounds.


getPosition

public java.awt.geom.Point2D.Double getPosition()
Get the position.


getRotation

public double getRotation()
Get the rotation.


emitsLight

public boolean emitsLight()
Whether or not the object emits light.


createGVectorObject

public RAGVectorObject createGVectorObject()
Create a RAGVectorObject from this source.